import java.sql.Time;
import java.sql.Date;


/**
 * This class holds the day and month of an appointment
 * 
 * @author Matthew Edwards 
 * @version 3-5-11
 */
public class Appointment {
	
	private Date date;
    
	private Time timeStart, timeEnd;
	
	private String reason, doctor, patient;

	public Appointment(Date date, Time timeStart, Time timeEnd){
		this.timeStart = timeStart;
		this.timeEnd = timeEnd;
		this.date = date;
	}
	
	public Appointment(Date date, Time timeStart, Time timeEnd, String doctor){
		this(date, timeStart, timeEnd);
		this.doctor = doctor;
	}
	
	public Date getDate(){
		return date;
	}
	
	public void setDate(Date date){
		this.date = date;
	}
	
	public Time getTimeStart(){
		return timeStart;
	}
	
	public void setTimeStart(Time timeStart){
		this.timeStart = timeStart;
	}
	
	public Time getTimeEnd(){
		return timeEnd;
	}
	
	public void setTimeEnd(Time timeEnd){
		this.timeEnd = timeEnd;
	}
	
	public String getReason(){
		return reason;
	}
	
	public void setReason(String reason){
		this.reason = reason;
	}
	
	public String getDoctor(){
		return doctor;
	}
	
	public void setDoctor(String doctor){
		this.doctor = doctor;
	}
	
	public String getPatient(){
		return patient;
	}
	
	public void setPatient(String patient){
		this.patient = patient;
	}
	
	
}